<%- include ../inc/header.html %>
<div class="container">
    <h1><%= settings.title %></h1>
    <p>Hi，<%=userName%>，欢迎使用<%= settings.title %>!</p>
    <p class="text-right"><a href="/">相册列表</a> | <a href="/logout">登出</a></p>
    <div class="panel panel-default">
        <div class="panel-heading">
            <div class="panel-title"><%= title %></div>
        </div>
        <div class="panel-body">
            <form class="form form-horizontal" method="post" enctype="multipart/form-data">
                <div class="form-group">
                    <label class="col-md-1 control-label">名称</label>
                    <div class="col-md-4"><input class="form-control" name="name"></div>
                </div>
                <div class="form-group">
                    <label class="col-md-1 control-label">文件</label>
                    <div class="col-md-4"><input class="form-control" type="file" name="image"></div>
                </div>
                <div class="form-group">
                    <div class="col-md-4 col-md-offset-1">
                        <button type="submit" class="btn btn-primary">上传</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>
<%- include ../inc/footer.html %>